package com.chapter20.demo4;


import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

/**
 * ScheduledExecutorService：
 * 该接口扩展自ExecutorService接口，它提供了延迟或定期执行任务的方法
 */
public class UserScheduledExecutorService {
    public static void main(String[] args) {
        Executors.newScheduledThreadPool(2);
    }
}
